Optimal. Leaf size=61 \[ \frac{256 \cos ^{15}(a+b x)}{15 b}-\frac{768 \cos ^{13}(a+b x)}{13 b}+\frac{768 \cos ^{11}(a+b x)}{11 b}-\frac{256 \cos ^9(a+b x)}{9 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0613116, antiderivative size = 61, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {4288, 2565, 270} \[ \frac{256 \cos ^{15}(a+b x)}{15 b}-\frac{768 \cos ^{13}(a+b x)}{13 b}+\frac{768 \cos ^{11}(a+b x)}{11 b}-\frac{256 \cos ^9(a+b x)}{9 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4288
Rule 2565
Rule 270
Rubi steps
\begin{align*} \int \csc (a+b x) \sin ^8(2 a+2 b x) \, dx &=256 \int \cos ^8(a+b x) \sin ^7(a+b x) \, dx\\ &=-\frac{256 \operatorname{Subst}\left (\int x^8 \left (1-x^2\right )^3 \, dx,x,\cos (a+b x)\right )}{b}\\ &=-\frac{256 \operatorname{Subst}\left (\int \left (x^8-3 x^{10}+3 x^{12}-x^{14}\right ) \, dx,x,\cos (a+b x)\right )}{b}\\ &=-\frac{256 \cos ^9(a+b x)}{9 b}+\frac{768 \cos ^{11}(a+b x)}{11 b}-\frac{768 \cos ^{13}(a+b x)}{13 b}+\frac{256 \cos ^{15}(a+b x)}{15 b}\\ \end{align*}
Mathematica [A] time = 0.0936457, size = 119, normalized size = 1.95 \[ -\frac{35 \cos (a+b x)}{64 b}-\frac{35 \cos (3 (a+b x))}{192 b}+\frac{21 \cos (5 (a+b x))}{320 b}+\frac{3 \cos (7 (a+b x))}{64 b}-\frac{7 \cos (9 (a+b x))}{576 b}-\frac{7 \cos (11 (a+b x))}{704 b}+\frac{\cos (13 (a+b x))}{832 b}+\frac{\cos (15 (a+b x))}{960 b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.036, size = 71, normalized size = 1.2 \begin{align*} 256\,{\frac{1}{b} \left ( -1/15\, \left ( \sin \left ( bx+a \right ) \right ) ^{6} \left ( \cos \left ( bx+a \right ) \right ) ^{9}-{\frac{2\, \left ( \sin \left ( bx+a \right ) \right ) ^{4} \left ( \cos \left ( bx+a \right ) \right ) ^{9}}{65}}-{\frac{8\, \left ( \sin \left ( bx+a \right ) \right ) ^{2} \left ( \cos \left ( bx+a \right ) \right ) ^{9}}{715}}-{\frac{16\, \left ( \cos \left ( bx+a \right ) \right ) ^{9}}{6435}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.06837, size = 123, normalized size = 2.02 \begin{align*} \frac{429 \, \cos \left (15 \, b x + 15 \, a\right ) + 495 \, \cos \left (13 \, b x + 13 \, a\right ) - 4095 \, \cos \left (11 \, b x + 11 \, a\right ) - 5005 \, \cos \left (9 \, b x + 9 \, a\right ) + 19305 \, \cos \left (7 \, b x + 7 \, a\right ) + 27027 \, \cos \left (5 \, b x + 5 \, a\right ) - 75075 \, \cos \left (3 \, b x + 3 \, a\right ) - 225225 \, \cos \left (b x + a\right )}{411840 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 0.538362, size = 136, normalized size = 2.23 \begin{align*} \frac{256 \,{\left (429 \, \cos \left (b x + a\right )^{15} - 1485 \, \cos \left (b x + a\right )^{13} + 1755 \, \cos \left (b x + a\right )^{11} - 715 \, \cos \left (b x + a\right )^{9}\right )}}{6435 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.93562, size = 365, normalized size = 5.98 \begin{align*} -\frac{8192 \,{\left (\frac{15 \,{\left (\cos \left (b x + a\right ) - 1\right )}}{\cos \left (b x + a\right ) + 1} - \frac{105 \,{\left (\cos \left (b x + a\right ) - 1\right )}^{2}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{2}} + \frac{455 \,{\left (\cos \left (b x + a\right ) - 1\right )}^{3}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{3}} + \frac{5070 \,{\left (\cos \left (b x + a\right ) - 1\right )}^{4}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{4}} + \frac{30030 \,{\left (\cos \left (b x + a\right ) - 1\right )}^{5}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{5}} + \frac{70070 \,{\left (\cos \left (b x + a\right ) - 1\right )}^{6}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{6}} + \frac{115830 \,{\left (\cos \left (b x + a\right ) - 1\right )}^{7}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{7}} + \frac{109395 \,{\left (\cos \left (b x + a\right ) - 1\right )}^{8}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{8}} + \frac{75075 \,{\left (\cos \left (b x + a\right ) - 1\right )}^{9}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{9}} + \frac{27027 \,{\left (\cos \left (b x + a\right ) - 1\right )}^{10}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{10}} + \frac{6435 \,{\left (\cos \left (b x + a\right ) - 1\right )}^{11}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{11}} - 1\right )}}{6435 \, b{\left (\frac{\cos \left (b x + a\right ) - 1}{\cos \left (b x + a\right ) + 1} - 1\right )}^{15}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]